import request from '@/utils/request'

// 查询小区列表
export function listCPlotNoPage(query) {
  return request({
    url: '/plot/listCPlotNoPage',
    method: 'post',
    data: query
  })
}


// 查询小区下拉列表
export function listCPlotSelect(data) {
  return request({
    url: '/plot/listCPlotSelect',
    method: 'post',
    data: data
  })
}

// 查询楼栋下拉列表
export function listBuildSelect(data) {
  return request({
    url: '/build/listCBuildSelect',
    method: 'post',
    data: data
  })
}

// 查询楼栋单元下拉列表
export function listBuildUnitSelect(data) {
  return request({
    url: '/buildUnit/listBuildUnitSelect',
    method: 'post',
    data: data
  })
}

// 查询模型下拉列表
export function listCustomModelSelect(data) {
  return request({
    url: '/custommodel/listCustomModelSelect',
    method: 'post',
    data: data
  })
}



// 查询住户分类下拉
export function listHouseholdClassifySelect(data) {
  return request({
    url: '/householdClassify/listHouseholdClassifySelect',
    method: 'post',
    data: data
  })
}

// 查询设备分组下拉列表
export function listEquipmentGroupSelect(data) {
  return request({
    url: '/equipment/listEquipmentGroup',
    method: 'post',
    data: data
  })
}

// 查询住户下拉列表
export function listHouseholdSelect(data) {
  return request({
    url: '/household/listHouseholdSelect',
    method: 'post',
    data: data
  })
}
//udt下拉列表
export function getDtuUsrByName(data) {
  return request({
    url: `/dtuusr/getDtuUsrByName?dtuName=${data}`,
    method: 'get'
  })
}
